import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import instance from './appconfig'
import axios from 'axios';
import Qs from 'qs'
import httpsuffix from './httpsuffix.js'

Vue.prototype.$http = axios;
Vue.prototype.$http = instance;
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(Qs)
Vue.prototype.$url = httpsuffix;

new Vue({
    router,
    render: h => h(App)
}).$mount('#app')